<?php
include("../inc/global.inc");
$hover=1;
$n_rs=mysql_query("select * from news where id=".$_GET['id']);
$n_row=mysql_fetch_array($n_rs);
mysql_free_result($n_rs);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=$n_row['news_title']?>，<?=$n_row['type_name']?>，三帝贸易网资讯中心提供最新行业资讯。</title>
<link href="/css/body.css" rel="stylesheet" type="text/css" />
<link href="/css/head.css" rel="stylesheet" type="text/css" />
<link href="/news/css/content.css" rel="stylesheet" type="text/css" />
<link href="/css/foot.css" rel="stylesheet" type="text/css" />
</head>
<body>
<?php include("../inc/head_top.php")?>
<?php include("../inc/index_search.php")?>
<?php include("../inc/menu.php");?>
<div id="mian" class="topside6">
<div class="title1 side">当前位置: <a href="/">三帝贸易网</a> >> <a href="/article-list/<?=$n_row[type_id]?>/1.html" target="_blank"><?=$n_row['type_name']?></a> >> <?=$n_row['news_title']?></div>
<div class="onl"></div>
</div>
<div class="w960 topside20 side">
<script type="text/javascript">/*960*90，创建于2011-3-9*/ var cpro_id = 'u403357';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
<div class="onl"></div>
</div>

<div id="mian" class="topside6">
  <div class="leftmain content side size14">
  <div class="biaoti">
  <h2><?=$n_row['news_title']?></h2>
  <span class="size12">更新时间：<?=date("Y-m-d",strtotime($n_row['news_time']))?></span>
  </div>
  
  <div style="width:250px;float:left; padding:8px;"><script type="text/javascript"><!--
google_ad_client = "pub-2924453545159453";
/* 250x250, 创建于 11-3-28 */
google_ad_slot = "3845659152";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
  <?=$n_row['news_content']?>
<div class="onl"></div>
 <div class="title size12 b">相关资讯</div>
 <div class="div_3">
    <ul>
	<?php
	$rs=mysql_query("select * from news where type_id=".$n_row['type_id']." and n_sh=1 order by id desc limit 8");
	while($row=mysql_fetch_array($rs)){
	?>
	 <li><a href="/article/<?=date("Y-m-d",strtotime($row['news_time']))?>/<?=$row['id']?>.html" target="_blank"><?=mb_substr($row['news_title'],0,45,'utf-8')?></a>&nbsp;&nbsp;<?=date("Y-m-d",strtotime($row['news_time']))?></li>
     <?php }
	 mysql_free_result($rs);
	 ?>
	</ul>
  </div>
  </div>
<div class="right">
<div class="rightmain downside6">
<div class="title size14 b">项目招标</div>
 <div class="RtInfo4">
<div class="div_3">
<ul>
<?php
$rs=mysql_query("select news.id,news.type_id,news.news_title,news.news_time from news inner join news_type on (news.type_id=news_type.id) where news.n_sh=1 and (news_type.type_id=1 or news_type.id=1) order by news.id desc limit 10");
while($row=mysql_fetch_array($rs)){
?>
<li><span><?=date("Y/m/d",strtotime($row['news_time']))?></span><a href="http://zb.sandib2b.cn/zhaobiao/<?=$row['id']?>.html" class="link_1" target="_blank"><?=mb_substr($row['news_title'],0,12,'utf-8')?></a></li>
<?php }
 mysql_free_result($rs);
?>
</ul>
</div>
 </div>
 <div class="onl"></div> 
</div>
<div class="rightmain downside6">
<div class="title size14 b">三帝资料</div>
 <div class="RtInfo4">
<div class="div_3">
<ul>
<?php
$rs=mysql_query("select * from ziliao where z_sh=1  order by id asc limit 10");
while($row=mysql_fetch_array($rs)){?>
<li><a href="http://zl.sandib2b.cn/ziliao-info/<?=$row['id']?>.html" class="link_1" target="_blank"><?=mb_substr($row['z_title'],0,17,'utf-8')?></a></li>
<?php }
 mysql_free_result($rs);
?>
</ul>
</div>
 </div>
 <div class="onl"></div> 
</div>
<div class="rightmain downside6">
<div class="title size14 b">展会动态</div>
 <div class="RtInfo4">
<div class="div_3">
<ul>
<?php
$rs=mysql_query("select news.id,news.type_id,news.news_title,news.news_time from news inner join news_type on (news.type_id=news_type.id) where news.n_sh=1 and news_type.id=22 order by news.id desc limit 8");
while($row=mysql_fetch_array($rs)){
?>
<li><a href="/expo/<?=date("Y-m-d",strtotime($row['news_time']))?>/<?=$row['id']?>.html" class="link_1" target="_blank"><?=mb_substr($row['news_title'],0,18,'utf-8')?></a></li>
<?php } mysql_free_result($rs);?>
</ul>
</div>
 </div>
 <div class="onl"></div> 
</div>

</div>
<div class="onl"></div>
</div>
<div id="mian" class="topside6 sideyellow1">
<div class="title3 size12"><span>最热商机</span>
<div class="onl"></div>
</div>
<div class="company">
<ul>
<?php 
$p_rs=mysql_query("select id,picture,p_title from product where p_sh=1 and p_tj=1 order by id desc limit 6");
while($p_row=mysql_fetch_array($p_rs)){
?>
<li><a href="/supply/<?=$p_row['id']?>.html">
<?php if($p_row['picture']){?>
<img src="/upfile/<?=$p_row['picture']?>" width="120" height="125" border="0" />
<?php }else{?>
<img src="/images/prono88.gif" width="120" height="125" border="0" />
<?php }?>
</a>
<span><a href="/supply/<?=$p_row['id']?>.html" target="_blank"><?=mb_substr($p_row['p_title'],0,10,'utf-8')?></a></span></li>
<?php } mysql_free_result($p_rs);?>
</ul>
<div class="onl"></div>
</div>
</div>

<div class="w960 topside20 downside20 side">
<script type="text/javascript">/*960*90，创建于2011-3-9*/ var cpro_id = 'u403357';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
<div class="onl"></div>
</div>

<?php include("../inc/foot.php");?>
</body>
</html>